package jgs1904.service.impl;

import jgs1904.mapper.UserMapper;
import jgs1904.pojo.User;
import jgs1904.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author 墨苍璃
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserMapper userMapper;


    @Override
    public User selUserInfoService(String uname) {
        return userMapper.selUserInfoMapper(uname);
    }


    @Override
    public List<String> selPowerInfoService(String uname) {
        return userMapper.selPowerInfoMapper(uname);
    }


    @Override
    public List<String> selRoleInfoService(String uname) {
        return userMapper.selRoleInfoMapper(uname);
    }

}
